<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
          "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:f="http://java.sun.com/jsf/core"      
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:p="http://primefaces.org/ui"
      xmlns:c="http://java.sun.com/jsp/jstl/core">

<h:head>
	<h:outputStylesheet library="css" name="style.css"  />
	<title><ui:insert name="title">Gestion de projets dans votre entreprise</ui:insert></title>
</h:head>

<h:body>
<div id="bloc_page">
    <ui:insert name="header">
    	<ui:include src="Banniere.xhtml" />
   </ui:insert>
		<section>
			<article>
				<ui:insert name="content"></ui:insert>
			</article>	    	
			
			<p:panel header="À propos de l'application" styleClass="rightPanel">
				<p id="logo">
					<h:graphicImage library="images" name="logo.png" />
				</p>
				<p>Application JBOSS Groupe 1</p>
				<ul>
					<li>BONNET Yannick</li>
					<li>BORDIGA Timothé</li>
					<li>CHOPIN Yannis</li>
					<li>GALATI Benoït</li>
					<li>PAUTHIER Jonas</li>
					<li>PEREIRA Vincent</li>
				</ul>
				
				<c:if test="${login.isAdmin()}">
					<h:form id="formDeconnexion">
						<p:commandButton value="Déconnexion" action="#{login.logOut}" icon="ui-icon-close" />
					</h:form>
				</c:if>
			</p:panel>
	    </section>
	
   	<ui:include src="Footer.xhtml" />
</div>
</h:body>

</html>
